/**
 * 
 */
import React, { Component } from 'react'

import PropType from 'prop-types'

export default class Menu extends Component {

  static propType = {
    style: PropType.any,
  }

  static defaultProps = {
    style: {}
  }

  render() {
    const { style, children } = this.props

    let menuStyle = {
      margin: 0,
      padding: 0,
      display: 'flex',
    }

    return(
      <div style={{...menuStyle, ...style}}>
        {children}
      </div>
    )
  }
}